def includeme(config):
    config.add_static_view('static', 'static', cache_max_age=3600)
    config.add_route('home', '/')

    config.add_route('category','/category/{id}')
    config.add_route('item','/item/{id}')
    config.add_route('order','/order')
    config.add_route('login', '/login')
    #register
    config.add_route('register','/register')

    #shoping_cart
    config.add_route('shoping_cart','/shoping_cart')

    #logout
    config.add_route('logout','/logout')

    #add_item
    config.add_route('add_item','/add_item/{id}')


    config.add_route('set_cookie','/set')
    config.add_route('get_cookie','/get')
    config.add_route('del_cookie','/delete')
    config.add_route('buy', '/buy')
